package o;

import android.annotation.TargetApi;
import android.os.AsyncTask;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

class brr {
    private static final ExecutorService ॱ = Executors.newSingleThreadExecutor();

    static abstract class b extends AsyncTask<Void, Void, Void> {
        protected abstract void ˏ();

        b() {
        }

        protected /* synthetic */ Object doInBackground(Object[] objArr) {
            return ॱ((Void[]) objArr);
        }

        @TargetApi(11)
        protected /* synthetic */ void onCancelled(Object obj) {
            ˎ((Void) obj);
        }

        protected /* synthetic */ void onPostExecute(Object obj) {
            ˊ((Void) obj);
        }

        protected void onCancelled() {
        }

        @TargetApi(11)
        protected final void ˎ(Void voidR) {
            super.onCancelled(voidR);
        }

        protected final Void ॱ(Void... voidArr) {
            ˏ();
            return null;
        }

        protected final void ˊ(Void voidR) {
            super.onPostExecute(voidR);
            ˊ();
        }

        protected void ˊ() {
        }
    }

    brr() {
    }

    void ˋ(b bVar) {
        if (bVar != null) {
            bVar.executeOnExecutor(ॱ, new Void[0]);
        }
    }

    void ˎ(b bVar) {
        if (bVar != null) {
            bVar.cancel(true);
        }
    }
}
